<template>
 <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <HelloWorld msg="Welcome to Your Vue.js + TypeScript App" />
  </div> 
  <p>{{ a }}</p>
  <p>{{ b }}</p>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import HelloWorld from "@/components/HelloWorld.vue"; // @ is an alias to /src

export default defineComponent({
  name: "Home",
  components: {
    HelloWorld,
  },
  setup() {
    const hander = () => {};
    return {
      a: "1",
      b: "2",
      hander,
    };
  },
});
</script>
